﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ProjectSunny.Controls
{
    public partial class SunnytechNews : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            rpt_news.DataSource = DAL.DCollector.DBCollector.Instance.StoredSelectTable("tbl_News", 3, "News_Date", "DESC");
            rpt_news.DataBind();
            
        }
    }
}